home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
os2
/
os2pl122.zip
/
OS2PL.PKG
< prev
Wrap
Text File
|
1996-08-04
|
21KB
|
657 lines
**********************************************************************
* See the Software Installer Reference for information on creating a
* package file.
**********************************************************************
*---------------------------------------------------------------------
* Service level
*---------------------------------------------------------------------
SERVICELEVEL
LEVEL = '000000'
**********************************************************************
*---------------------------------------------------------------------
* Include 1 DISK entry for each diskette needed.
*
* The following changes are required:
* - Change "<Product Name>" in the each NAME keyword to your product
* name.
* - Set each VOLUME keyword to a unique value.
*---------------------------------------------------------------------
DISK
NAME = 'OS/2-Planets',
VOLUME = 'OS2PL001'
**********************************************************************
*---------------------------------------------------------------------
* Default directories
*---------------------------------------------------------------------
PATH
FILE = 'C:/OS2PL',
FILELABEL = 'Installation directory'
**********************************************************************
*---------------------------------------------------------------------
* Exit to define your product folder's object ID.
*
* The following changes are required:
* - Set variable FOLDERID to your folder's object ID; be sure to make
* the value sufficiently unique; do not use "PRODFLDR".
*---------------------------------------------------------------------
FILE
EXITWHEN = 'ALWAYS',
EXIT = 'SETVAR FOLDERID=OS2PL'
**********************************************************************
PACKFILE
VOLUME = 'OS2PL001',
ID = 'OPL',
SOURCE = 'DRIVE: BUNDLE'
*---------------------------------------------------------------------
* This component creates a folder on the desktop. You must create
* the folder in a hidden component to ensure that deleting your
* product does not delete the folder before the objects within the
* folder are deleted.
*---------------------------------------------------------------------
COMPONENT
NAME = 'INSFIRST',
ID = 'INSFIRST',
DISPLAY = 'NO',
SIZE = '850000'
*---------------------------------------------------------------------
* Include a FILE entry to install the catalog file.
*
* The following changes are required:
* - Change the SOURCE and PWS keywords to the name of your catalog
* file.
*---------------------------------------------------------------------
FILE
VOLUME = 'OS2PL001',
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'NO',
PWS = 'OS2PL.ICF',
SOURCE = 'OS2PL.ICF',
DATE = '010202',
TIME = '0000',
SIZE = '3000'
*---------------------------------------------------------------------
* Set variable CATALOG to be the name of the catalog file;
* the variable is used in EPFISINC.PKG.
*
* The following changes are required:
* - Change "CATALOG.ICF" in the EXIT keyword to the name of your
* catalog file.
*---------------------------------------------------------------------
FILE
EXITWHEN = 'INSTALL || UPDATE || RESTORE',
EXITIGNOREERR = 'NO',
EXIT = 'SETVAR CATALOG=OS2PL.ICF'
*---------------------------------------------------------------------
* Include a FILE entry to install the description file.
*
* The following changes are required:
* - Change the SOURCE and PWS keywords to the name of your
* description file.
*---------------------------------------------------------------------
FILE
VOLUME = 'PROD001',
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'NO',
PWS = 'OS2PL.DSC',
SOURCE = 'OS2PL.DSC',
DATE = '010202',
TIME = '0000',
SIZE = '500'
*---------------------------------------------------------------------
* Create your product's folder on the desktop.
*
* The following changes are required:
* - Change "<Product Name>" in the EXIT keyword to your product name.
*---------------------------------------------------------------------
FILE
EXITWHEN = 'INSTALL || UPDATE',
EXITIGNOREERR = 'NO',
EXIT = 'CREATEWPSOBJECT WPFolder "OS/2-Planets"
<WP_DESKTOP> R
"OBJECTID=<%FOLDERID%>;"'
*---------------------------------------------------------------------
* The included package file will install and register the
* Installation Utility. You do not need to make any changes to
* EPFISINC.PKG.
*---------------------------------------------------------------------
INCLUDE
NAME = 'DRIVE: EPFISINC.PKG'
**********************************************************************
*---------------------------------------------------------------------
* Include 1 COMPONENT entry for each component.
*
* The following changes are required:
* - Change "Component 1" in the NAME keyword to the name of the
* component.
* - Describe the component in the DESCRIPTION keyword.
*
* The component must require at least the INSFIRST and DELLAST
* components.
*---------------------------------------------------------------------
COMPONENT
NAME = 'Executables and Data-Files',
ID = 'EXES',
REQUIRES = 'INSFIRST DELLAST',
DISPLAY = 'YES',
DESCRIPTION = 'Executables and Data-Files',
SIZE = '1100000'
*---------------------------------------------------------------------
* Include 1 FILE entry for each file in the component.
*
* The following changes are required:
* - Change the SOURCE and PWS keywords to the name of the file to
* install.
*---------------------------------------------------------------------
FILE
VOLUME = 'OS2PL001',
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
PWS = 'OS2PL.EXE',
PACKID = 'OPL',
DATE = '010202',
TIME = '0000',
SIZE = '750000'
FILE
VOLUME = 'OS2PL001',
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
PWS = 'OS2PL.ICO',
PACKID = 'OPL',
DATE = '010202',
TIME = '0000',
SIZE = '1000'
*---------------------------------------------------------------------
* Create a program object in the product folder.
*
* The following changes are required:
* - Change "COMP1A" in the EXIT keyword to the name of the object.
* - Change "COMP1A.EXE" in the EXIT keyword after EXENAME to the
* name of the program to run.
* - Change "[]" in the EXIT keyword after PARAMETERS to any
* parameters required to run the object; if no parameters are
* required, delete "PARAMETERS=[];" from the EXIT keyword.
* - Change "COMP1A" in the EXIT keyword after OBJECTID to the
* program's object ID; be sure to make the value sufficiently
* unique; the value must be enclosed in "<>" characters; do not use
* "COMP1A" or the value of the FOLDERID variable.
*---------------------------------------------------------------------
FILE
EXITWHEN = 'INSTALL || UPDATE || RESTORE',
EXITIGNOREERR = 'NO',
EXIT = 'CREATEWPSOBJECT WPProgram "OS/2-Planets"
<%FOLDERID%> R
"ICONFILE=OS2PL.ICO;EXENAME=%EPFIFILEDIR%\OS2PL.EXE;STARTUPDIR=%EPFIFILEDIR%;PARAMETERS=[Player-Directory];OBJECTID=<OS2PLANETS>;"'
*---------------------------------------------------------------------
* Delete the program object.
*
* The following changes are required:
* - Change "COMP1A" in the EXIT keyword to the program's object ID;
* be sure to use the object ID that you gave the object when it was
* created in the previous FI